package com.gxa.myshiro.dao;

import com.gxa.myshiro.pojo.Access;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program:
 * @description:
 * @author: Allen
 * @create: 2019/7/29 19:30
 **/
@Mapper
public interface RoleAccessMapper {

    /**
     * 通过角色id来查询权限
     * @param roleId
     * @return
     */
    List<Access> findAccessByRoleId(@Param("roleId") Integer roleId);

}
